/*
 *  bomberman.cpp
 */

#include "action.h"
#include "bomb.h"
#include "bomberman.h"
#include "mobile.h"
#include "object.h"

Bomberman::Bomberman(int objectID, int speed)
                    : Object(objectID), Mobile(speed) {
    life = 1;
}

Bomberman::~Bomberman() {}

void Bomberman::makeBomb()
{
    if (bomb != NULL) {
        //bomb = new Bomb();
        // wait
    }
}

void Bomberman::plantBomb()
{
    //map.setObject(bomb, pos);
    bomb = NULL;
}

void Bomberman::doAction()
{
    action.exec();
}

bool Bomberman::isSolid()
{
    return true;
}

bool Bomberman::isDestroyable()
{
    return true;
}

void Bomberman::destroy() {}

//{+}

